<?phpextract($TPL->parse('index/login')->scope('TYPE','MSG'),EXTR_REFS);if(XAUTH::$user->registered() == false && isset($_POST['login']) && $_POST['login']['email'] && $_POST['login']['password']){	if(!XAUTH::login($_POST['login']['email'],$_POST['login']['password']))	{		$MSG = 'Datos incorrectos';	}}$TPL->parse('index/' . XAUTH::$user->role);$TYPE = $TPL->render();return $TPL->render();